// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fowo.api.common.annotaion.*;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * LogisticsProvider
 */
@DS("ds24")
@Getter
@Setter
@TableName(value = "logistics_provider", autoResultMap = true)
@Schema(title = "物流商")
public class LogisticsProvider implements Serializable {

  /**
   * 编号
   */
  @TableField(value = "`id`")
  @TableId(type = IdType.ASSIGN_ID)
  @Schema(title = "编号")
  private Long id;

  /**
   * 物流商
   */
  @TableField(value = "`name`")
  @Schema(title = "物流商")
  private String name;

  /**
   * 代码
   */
  @TableField(value = "`code`")
  @Schema(title = "代码")
  private String code;

  /**
   * 状态
   */
  @TableField(value = "`status`")
  @Schema(title = "状态")
  private String status;

  /**
   * 创建时间
   */
  @TableField(value = "`create_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "创建时间")
  private java.util.Date createTime;

  /**
   * 创建人
   */
  @TableField(value = "`create_user`")
  @Schema(title = "创建人")
  private Long createUser;

  /**
   * 更新时间
   */
  @TableField(value = "`last_update_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "更新时间")
  private java.util.Date lastUpdateTime;

  /**
   * 更新人
   */
  @TableField(value = "`last_update_user`")
  @Schema(title = "更新人")
  private Long lastUpdateUser;

  /**
   * 删除标记
   */
  @TableField(value = "`del_flag`")
  @TableLogic
  @Schema(title = "删除标记")
  private Boolean delFlag;

  /**
   * 联系人
   */
  @TableField(value = "`contacts`")
  @Schema(title = "联系人")
  private String contacts;

  /**
   * 联系电话
   */
  @TableField(value = "`phone`")
  @Schema(title = "联系电话")
  private String phone;

  /**
   * 邮箱
   */
  @TableField(value = "`mail_box`")
  @Schema(title = "邮箱")
  private String mailBox;

  /**
   * 预付比例
   */
  @TableField(value = "`payment_ratio`")
  @Schema(title = "预付比例")
  private java.math.BigDecimal paymentRatio;

  /**
   * 结算方式 (0 - 现结; 1 - 月结; )
   */
  @TableField(value = "`settlement_method`")
  @Schema(title = "结算方式")
  private String settlementMethod;

  /**
   * 付款日
   */
  @TableField(value = "`settlement_node`")
  @Schema(title = "付款日")
  private String settlementNode;

  /**
   * 结算周期
   */
  @TableField(value = "`settlement_cycle`")
  @Schema(title = "结算周期")
  private String settlementCycle;

  /**
   * 授权状态 (1 - 已授权; 0 - 未授权; )
   */
  @TableField(value = "`is_empower`")
  @Schema(title = "授权状态")
  private String isEmpower;
}
